<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>首页</title>

<link type="text/css" rel="stylesheet" href="../oecms/css/admin.css" media="screen" />
<script type='text/javascript' src='../js/jquery-1.4.4.min.js'></script>
<script type='text/javascript' src='../js/command.js'></script>
<script type="text/javascript" src='../../data/editor/kindeditor.js'></script>
</head>

<body>

<!--{if $action eq ""}-->
<div class="main-wrap">

<div class="path">

  <p>当前位置：易经网站 》 十二生肖运势 <span></span></p>

</div>

<div class="main-cont">		
<label>当前时间：<!--{$today}--></label>

 <table cellpadding="" cellspacing="" border="" style=" width:100%;">
 	
    <thead>
    	<th>生肖</th>
        <th>摘要</th>
        <th>操作</th>
    </thead>    
     <!--{foreach $listdata as $volist}-->
        <tr>
        <td width="100px" align="center"><!--{$volist.desc}--></td>
         <td><!--{$volist.abstract}--></td>
          <td  width="200px"><a target="main" href="luck12.php?action=edit&id=<!--{$volist.uuid}-->">编辑</a></td>
        </tr>
      <!--{/foreach}-->
 </table>

 
</div>

<div style="clear:both;"></div>

</div>
<!--{/if}-->

<!--{if $action eq "edit"}-->

<div class="main-wrap">
  <div class="path"><p>当前位置：易经网站<span>&gt;&gt;</span>编辑12生肖运势</p></div>
  <div class="main-cont">
	<h3 class="title"><a href="luck12.php" class="btn-general"><span>返回列表</span></a>编辑365运势</h3>
     <form name="myform" id="myform" method="post" action="luck12.php" onsubmit='return checkform();' >
    <input type="hidden" name="action" value="saveedit" />
	<input type="hidden" name="id" value="<!--{$id}-->" />
    <table cellpadding='3' cellspacing='3' class='tab'>
	  <tr>
      	<td class='hback_1' width="15%">生肖：</td>
		<td class='hback' width="85%"><!--{$cate.desc}--><span class='f_red' id="dcatename"></span></td>
      </tr>
     <tr>
		<td class='hback_1'>摘要： <span class='f_red'>*</span></td>
		<td class='hback'><textarea name="abstract" id="abstract" style='width:60%;height:60px;overflow:auto;color:#444444;'><!--{$cate.abstract}--></textarea><br />(字数小于32)</td>
	  </tr>
      
      <tr>
		<td class='hback_1'>正文： <span class='f_red'>*</span></td>
		<td class='hback'>
        <textarea name="content" id="content" style="width:99%;height:300px;display:none;"><!--{$cate.content}--></textarea>
		  <script>KE.show({id : 'content' });</script>  <span id='dcontent' class='f_red'></span></td>
        <!--textarea id="content12" name="content" cols="" rows="" class="" ></textarea>
        <script type="text/jscript">
			
			CKEDITOR.replace("content12",{
			fullPage : false,
			extraPlugins : 'docprops'
			});

		</script-->
        </td>
	  </tr>
      
     <tr>
		<td class='hback_none'></td>
		<td class='hback_none'><input type="submit" name="btn_save" class="button" value="更新保存" /></td>
	  </tr>
      
      </table>
    </form>
   </div>
 </div>
    
<!--{/if}-->

</body>

</html>

